package bridgePattern;

public class Demo {

    public static void testTv(Device device){
        BasicRemote basicRemote = new BasicRemote(device);
        basicRemote.channelDown();
        AdvanceRemote advanceRemote = new AdvanceRemote(device);
        advanceRemote.mute();
        device.printStatus();
    }

    public static void main(String[] args) {
        Tv tv = new Tv();
        testTv(tv);
    }
}
